﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucVnHomeNewProducts.ascx.cs" Inherits="VINETLIFE.Module.ucVnHomeNewProducts" %>
<div class="t-slide-new-product-wrap">
    <div class="bupa-title-wrap">
        <div class="bupa-title-left">
            <a href='/san-pham-moi/' title='New products'>
                <h2>Sản phẩm mới</h2>
            </a>
        </div>
        <div class="bupa-title-right">
        </div>
    </div>
    <div class="infox">
        <div class="t-products-inner">
            <div class="t-products-inner">
                <div class="foo-news">
                    <div id="foo-new-product">
                        <asp:Repeater runat="server" ID="rptHomeNew" OnItemDataBound="rptHomeProducts_ItemDataBound">
                            <ItemTemplate>
                                <div class="t-product">
                                    <a href='/san-pham/<%#FriendlyUrl(Eval("ProductTitle").ToString())%>-<%#Eval("ProductID")%>'
                                        title='<%#Eval("ProductTitle") %>' class="t-product-link">
                                        <div class="t-product-img-wrap">
                                            <img alt='<%#Eval("ProductTitle")%>' title='<%#Eval("ProductTitle")%>' src='/Media/<%#Eval("ProductImage") %>' class="t-product-img" />
                                        </div>
                                        <div class="t-product-info">
                                            <h2><%#Eval("ProductTitle")%></h2>
                                            <div class="t-product-price-wrap">
                                                <div class="t-pwpp-nonprice-wrap-inner">
                                                    <div class="t-product-price">
                                                        <span class="t-product-span-price"><%#VINETLIFE.Ultility.GetPrice(Eval("ProductId"))%></span>
                                                        <span class="t-pwmp-saleprice-m">
                                                            <%#VINETLIFE.Ultility.GetSalePriceNormal(Eval("IsPromotion"),Eval("Price"))%>
                                                        </span>
                                                    </div>

                                                </div>
                                            </div>
                                            <div class="t-product-info-view">
                                            </div>
                                        </div>
                                        <div class="t-product-type">
                                            <asp:Label runat="server" ID="lblType"></asp:Label>
                                        </div>
                                        <div class="t-product-wrap-more">
                                            <div class="t-product-wrap-more-head">
                                                <div class="t-product-desc-wrap">
                                                    <div class="t-product-desc">
                                                        <%#Eval("HomeDescription") %>
                                                    </div>
                                                </div>
                                            </div>
                                            <asp:Panel runat="server" ID="pnlPromotion">
                                                <div class="t-product-wrap-more-promotion">
                                                    <span class="t-pwmp-sale">Giảm<br />
                                                        <asp:Literal runat="server" ID="ltrSale"></asp:Literal></span>
                                                    <div class="t-pwmp-price-wrap">
                                                        <div class="t-pwmp-sale-saleprice">
                                                            <span>Giá gốc </span><span style="text-decoration: line-through;"><%#VINETLIFE.Ultility.GetPriceNormal(Eval("Price"))%></span>
                                                        </div>
                                                        <span class="t-pwmp-sale-price"><span>Còn: </span><%#VINETLIFE.Ultility.GetPriceNormal(Eval("SalePrice"))%></span>
                                                        <a href='/san-pham/<%#FriendlyUrl(Eval("ProductTitle").ToString())%>-<%#Eval("ProductID")%>'
                                                            title='<%#Eval("ProductTitle") %>' class="t-product-link-pro">Xem tiếp
                                                        </a>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                            <asp:Panel runat="server" ID="pnlNonPromotion" Visible="false">
                                                <div class="t-product-wrap-more-nonpromotion">
                                                    <div class="t-pwmp-nonprice-wrap">

                                                        <span class="t-pwmp-price">Giá: </span><span class="t-pwmp-sale-price-x"><%#VINETLIFE.Ultility.GetPriceNormal(Eval("Price"))%></span>

                                                        <a href='/san-pham/<%#FriendlyUrl(Eval("ProductTitle").ToString())%>-<%#Eval("ProductID")%>'
                                                            title='<%#Eval("ProductTitle") %>' class="t-product-link-pro-x">Xem tiếp
                                                        </a>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                        </div>
                                    </a>
                                    <a href="#" class="t-product-info-next"></a>
                                </div>
                            </ItemTemplate>
                        </asp:Repeater>
                    </div>
                </div>
                <a href="#" id="slide-next-new" class="slidex-prev" style="display: block;"><span></span>
                </a><a href="#" id="slide-prev-new" class="slidex-next" style="display: block;"><span></span></a>
            </div>
        </div>
    </div>
</div>
